﻿Smart Ticker 2.5.3 (formerly DirectFN Smart Trade Station)
========================================================

INSTALL (do not start the app from inside the zip - install it, then use the "Smart Ticker" icon on the desktop)
  1. Unzip this package (right-click the zip > Extract All).
  2. Double-click Smart_Ticker_Setup_2.5.3.exe, or "Install Smart Ticker.cmd" when Windows or the antivirus blocks the setup program
     (or right-click install.ps1 > "Run with PowerShell").
     It installs for your Windows user (no administrator rights) into
     %LOCALAPPDATA%\Programs\DirectFN Smart Trade Station, adds Start menu (DirectFN) and desktop shortcuts, the
     Excel live link, and an entry in Settings > Apps. Installing over 1.6.x - 2.x keeps settings, workspaces
     and the saved sign-in. Silent install for IT: powershell -ExecutionPolicy Bypass -File install.ps1 -S
     (log: %TEMP%\STS_Setup_2.5.3.log; -Log <path> for another place).
  3. To remove it: Settings > Apps > Installed apps > Smart Ticker > Uninstall.
  Smart_Ticker_Setup_2.5.3.exe is the same installer as a setup program with a wizard (silent: /S, log: /LOG=<path>). It is
  not code-signed yet, so Windows "Smart App Control" blocks it on PCs where that is on; use install.ps1 there until
  the setup is signed.

WHAT IS NEW IN 2.5.3 (The jumping top panel, the ticker tape and the price flashes, 03-Dec-2026)
  The "flash" in the top panel
  - Found and measured: the header (TDWL, the time, XL) jumped sideways by about 260 px every second. The session chip beside
    the time (OPEN / PRE-OPEN / AUCTION / CLOSED with its countdown) was put into the header by a script, and the screen's own
    redraw, which runs every second, took it out again; the script then put it back. So the top row changed width once a
    second, and the time flashed blue on every tick on top of that. The chip is now part of the header itself, so a redraw
    cannot remove it. Measured with a live feed: the header no longer moves (0 px; it was about 260 px) and the chip is always
    there. Its digits have equal width, so the countdown does not shake the row either.
  - The time no longer flashes at every tick (it still does if Price flash is set to Strong, see below).
  Ticker tape
  - It is no longer rebuilt every second. Each symbol is built once; when a price moves only its text is changed in place.
    The scroll is one browser animation that is started once and never restarted, so the tape does not flicker or jump back
    when prices update, when the window is resized or when the list changes.
  - On a wide window or a second screen the tape no longer shows an empty stretch after the last symbol: the list is
    repeated until it is wider than the bar.
  - Order: Most active, Gainers, Losers, Movers and All keep a steady order and are sorted again every 5 minutes, so symbols
    no longer swap places under the eye. My list and your saved lists keep your own order.
  - The tape pauses while the mouse is over it; a change of the list waits until the mouse leaves.
  Price flash (Settings > Price flash, or the gear menu of the tape)
  - Soft (the new default): a light tint behind the price for about half a second; the text colour does not change.
  - Strong: the 2.5.2 look (solid green or red with white text; the time flashes blue).
  - Off: no flashes anywhere (Market Watch, the cards, the TASI bar and the tape).
  Crash
  - Nothing in launcher.log from this PC shows a crash of this application: no error line, no freeze line, and the browser
    engine left no crash report. The 2.4.9 session ended normally after about 2.5 hours. The session that was open at
    13:11 today stopped without a recorded reason. At the next start launcher.log has a line "earlier sessions" that says
    how each earlier session ended; if the window closes or goes blank again, please send launcher.log (folder
    %LOCALAPPDATA%\DirectFN\SmartTradeStation) - it will say what the window was doing.
  - The start-up check no longer asks the graphics driver for its name (that was the only step that created a graphics
    context just to write one line in the log). launcher.log now says "graphics: not probed". For IT: setting sts.probe to 1
    in the page's local storage brings the old check back.
  - Tested here with a simulated DFN market: sign-in, price stream, history, API errors (503, 429, 401, bad answers), network
    loss for 12 minutes, a 20-minute sleep, a hung connection, a stale token and a hidden window - no page error, no freeze
    and no reconnect problem. Not tested: the picture on your PC's own graphics driver.
  - Includes everything in 2.5.2 (below).

WHAT IS NEW IN 2.5.2 (Live prices come back by themselves after sleep and network loss, 03-Dec-2026)
  launcher.log from this PC (2.4.9 window, 2 hours) shows no crash, but also what an unattended window goes through: the
  stream dropped (code 1006), the phone hotspot lost its internet (DNS "no such host"), the PC slept for 20 minutes, and the
  stream's retries (8 tries, about 4 minutes) were used up; prices came back only on the last try. A longer outage left the
  prices stopped until Reconnect was clicked.
  - The real-time stream no longer gives up: the wait between tries grows from 2 s to 60 s and then stays at 60 s, for as
    long as it takes. After 8 tries one note says that live prices are paused and will resume by themselves; another says
    "Live prices are back" when they do.
  - When the computer wakes up from sleep the stream is opened again at once (after about 1.5 s), and the count starts again.
  - When the network comes back (the window's "online" event) or the window comes back to the front and the stream is down,
    it is opened at once instead of waiting for the 60 s timer.
  - A connection that never finishes signing on (45 s) is closed and replaced.
  - A sleeping computer is no longer written to launcher.log as "PAGE NOT RESPONDING for 1233 s" or as a 20-minute "long task":
    the line now says "the computer was asleep ... that is not a freeze". Real freezes are reported as before.
  - New launcher.log lines start with "network:" (wake-up, network lost / back, stream opened by the guard).
  - A sign-in that is no longer accepted after a long sleep is signed in again with the saved sign-in (as in 2.4.2).
  - Includes everything in 2.5.1 (below).

WHAT IS NEW IN 2.5.1 (A freeze watcher that writes what the window was stuck in, 03-Dec-2026)
  launcher.log from this PC (with 2.4.9) shows that right after the sign-in the window did not respond for 5.6 s ("long task
  5577 ms") while the first market snapshot arrived; afterwards it ran for over an hour without a problem. A freeze like that
  shows as a blank window and, if the window is clicked or closed during it, as a crash. The log did not say what the window
  was busy with, so 2.5.1 records it.
  - A watcher in a background thread writes to launcher.log WHILE the window is stuck, after 2.5, 8, 30 and 90 s:
    "page BUSY for N s - inside: <step>" (the price-stream flush, a burst of stream messages, a screen render, saving the
    feed, a chart step) or "inside: no tracked step" (something else, e.g. drawing), and when the window answers again
    "page answering again after N s - it was busy in: ...". The lines are written even if the window is closed during the freeze.
  - "long frame" and "long task" lines say at which second after the start they happened.
  - The graphics check in the start-up line ("this computer") runs 25 s after the start instead of 6 s, when the first
    market snapshot has settled, so it cannot add to a freeze at sign-in.
  - Includes everything in 2.5.0 (below).

WHAT IS NEW IN 2.5.0 (Window going blank or closing after the DFN sign-in, 03-Dec-2026)
  What launcher.log from this PC shows
  - The DFN connection works: sign-in (HTTP 200), the real-time stream (connected, sign-on accepted), stock names (296) and
    chart history (7,011 daily and 10,000 one-minute bars for 1050) were all received. Without a chart open the app ran
    for 14+ minutes with steady memory (26-69 MB). So the API is not what ends the window; the suspects are the work the
    live market puts on the window right after sign-in, and the way the window is drawn.
  - Right after sign-in DFN sends the whole market in one go (about 4,700 messages for ~1,700 instruments with ~110
    fields each), then about 200 messages a second.
  What changed
  - Messages from DFN are taken in small slices (10 ms) between screen updates, not all in one go, so the window keeps
    answering while the first full market arrives and after any pause in the connection.
  - The screens are refreshed at a pace that follows how long a refresh takes (every 0.7 - 2.5 s, every 2 s while the
    window is hidden), not after every message; field names are remembered instead of being rebuilt for every instrument.
  - The ticker tape is moved by the browser's animation engine (no script per frame): about 30 % less work for the
    window with the tape on.
  - Setup now sets Smart Ticker's own Edge profile (%LOCALAPPDATA%\DirectFN\SmartTradeStation\Profile) to draw with the
    processor ("software drawing") instead of the graphics card. A graphics-driver fault can blank or close a window
    without any message, and everything tested here was drawn by the processor, so this puts your PC on the tested path.
    It cannot be proven from here that this is the cause. Your own Edge is not touched. If the window feels slower, run
    "Graphics - use graphics card.cmd" (in the install folder and in this package) to go back; "Graphics - use software
    drawing.cmd" sets it again. A later setup keeps the graphics card if you chose it. The original setting file is kept
    once as "Local State.sts-backup".
  Next time the window closes: what launcher.log will say
  - At every start: "earlier sessions" - for each of the last 5 sessions, when it started, how long it ran, how it ended
    (clean / out of sight / unclean), the page version, the stream state and messages, the longest pause and long frames,
    and whether the background service (the launcher) stopped answering. launcher.log is recreated at every start, so
    this list is kept inside the app and is not lost.
  - "long frame ... ms" lines name the script that held the window for more than 300 ms and how long drawing took after it.
  - The "alive" lines say whether the background service answers. If it stops answering, a red bar tells you (prices and
    history cannot load; close the window and open Smart Ticker again) instead of the window silently going blank.
  - The start-up line "this computer" says whether the window is drawn by the graphics card or by the processor, and a
    small speed test of this PC.
  Measured here (simulated DFN market: 1,700 instruments, a 4,700-message snapshot, 200 messages a second, a 2055x1123
  window at 67 % zoom, processor slowed 4 times): no pause longer than 0.55 s after sign-in. Not yet seen on your PC
  with a chart open for a long time; send launcher.log if the window still closes.
  - Includes everything in 2.4.9 (below).

WHAT IS NEW IN 2.4.9 (Crash prevention and safer access to the DFN API, 03-Dec-2026)
  Crash prevention
  - The smart chart is drawn by the processor, not by a graphics-card canvas (a canvas that loses its graphics context
    can blank a window). Its drawing area is limited (pixel ratio at most 2, at most 6 million pixels) and it is redrawn
    once per screen refresh, however fast the mouse moves.
  - Chart bars are cleaned before drawing: a missing or zero open / high / low is replaced by the close, the high is the
    highest and the low the lowest of the bar, and at most 3,000 bars are kept for one chart.
  - An indicator that takes longer than 0.4 s is not worked out again in that session (it is written to the log).
  - Fixed: sell markers on a formula chart raised an error (a name that did not exist).
  - A window that you closed or minimised is no longer counted as a crash, so safe mode starts only after a real stop.
  - launcher.log now also shows a step that took longer than 1.2 s, memory above 700 MB, and whether the window was
    visible when the last session ended.
  Safer access to the DFN API
  - Requests for data (history, stock names) wait in a line, 4 at a time, so many charts or windows opening together
    cannot flood the service or the window.
  - A request that fails (no connection, no answer within 15 s, HTTP 429 / 502 / 503 / 504) is asked again, up to two more times.
  - HTTP 401 (the sign-in is no longer accepted): the app signs in again with the saved sign-in (never asks for the
    password, at most once every 90 s) and repeats the request.
  - A saved sign-in that failed only because the network was not ready (computer just started) is tried again after
    15 s, 45 s, 2, 5 and 10 minutes.
  - A real-time stream that stopped after its 8 tries is opened again every 5 minutes for up to 2 hours.
  - History: a cut-off or unreadable answer and HTTP 429 are tried again after 2 minutes; a bar stamp that is not a date
    no longer stops a whole history page.
  If the window still closes, send launcher.log (folder %LOCALAPPDATA%\DirectFN\SmartTradeStation): the lines with
  "previous session", "slow step", "high memory" and "api guard" show what the window was doing.
  - Includes everything in 2.4.8 (below).

WHAT IS NEW IN 2.4.8 (Crash protection, 03-Dec-2026)
  - The app now remembers which chart step was running when the window closed unexpectedly. At the next start it
    switches that feature off (chart indicator, intraday interval, or the smart chart) and shows a message.
    Settings > Charts > Crash protection shows what is switched off; "Switch everything back on" resets it.
  - Safe mode: after two unexpected closes soon after start, the next start uses a light display (no heavy effects).
  - Chart canvas size is limited so a very large or zoomed window cannot exhaust graphics memory.
  - Fixed: a chart with fewer than 10 bars raised an error while painting.
  - launcher.log has more detail after a crash: this computer, the previous session trail, and what was running.
  - Includes everything in 2.4.7 (below).

WHAT IS NEW IN 2.4.7 (Pro Chart shortcut in the context chart, 02-Dec-2026)
  - The chart that opens from right-click > Pro Chart (the context chart) now has a shortcut to the full Pro Chart:
    the PRO button in its toolbar, Ctrl+G, or right-click on the chart > "Pro Chart window (all tools)".
    Pro Chart opens as a window for the same symbol at the same interval; the context chart stays open.
    Right-click > "Full Pro Chart screen" opens the Pro Chart screen instead.
  - Ctrl+G acts on the context chart that was opened or clicked last. After a click or a key anywhere else it is
    left alone, so the keys of Market Watch, the Scanner and the other windows work as before.
  - Right-click on the context chart (not on a drawing) shows the chart's own menu instead of the browser's.
  - Arabic: the tooltips of the context chart's toolbar that were still in English are translated.
  - Includes everything in 2.4.6 (below).

WHAT IS NEW IN 2.4.6 (Scanner accuracy, today's bar, speed with a live market, 02-Dec-2026)
  - Scanner: during market hours today was counted twice (DFN's history already had today's bar and the live price
    was added after it as one more bar). The % change in the Scanner did not match Market Watch, and RSI, MACD, ATR
    and the other indicators were worked out on the wrong bars. Today is now one bar, taken from the live price.
  - Charts, Scanner and formula columns: on Fridays, Saturdays and before the open, the last session was drawn twice
    (a copy of it dated "today"). The live price now carries DFN's last trade date and is put on that day.
  - Daily bars are dated by the day in Riyadh (a bar stamped at midnight Riyadh time was shown one day early).
  - The Scanner works on up to 750 daily bars (3 years; it was 1 year), so EMA/SMA 200 agree with the chart.
  - Symbols for which DFN has no daily history are no longer scanned on made-up history. The status line shows how
    many: "N without DFN history (not scanned)". Formula columns stay empty for them.
  - Daily history is read again once a day while the app stays open (the Thursday bar was missing on Sunday when the
    app had stayed open over the weekend).
  - Speed with a live market: the Scanner and the formula columns in Market Watch no longer rebuild everything for
    all symbols on every price update. Measured with a simulated full market (500 symbols, 150 price updates and 40
    trades a second): Market Watch with two formula columns, just after sign-in, went from 2-3 pictures a second
    (the window was blocked 60 % of the time) to about 50; the Scanner's pauses went from 0.6 s to under 0.1 s.
    The Scanner keeps about 60 MB more in memory while it is in use (given back 3 minutes after leaving it).
  - After the PC wakes from sleep the screen no longer refreshes only every 2 seconds for a while.
  - launcher.log: new lines that show what DFN sends ("history: DFN stamps daily bars at ...", "market data - ...",
    "stock definitions - ..."); the doubled "app: app:" at the start of some lines is gone.
  - Tested with a simulated DFN market (sign-in, price stream, paged history); not yet checked against live DFN
    during market hours. Not changed: Reports still use the built-in sample history; about 200 symbols have no name
    from DFN's stock list.

WHAT IS NEW IN 2.4.5 (market status, 02-Dec-2026)
  - The TDWL chip in the header showed OPEN at all times, also at night and on weekends. It now follows the Tadawul
    session: OPEN (10:00-15:00), PRE-OPEN, AUCTION, TAL, CLOSED - by the clock (Sunday-Thursday, Riyadh time), like the
    ticker tape; official holidays are not known to it.

WHAT IS NEW IN 2.4.4 (window closing, desktop icon, 02-Dec-2026)
  - Install it before use: unzip the package, then run Smart_Ticker_Setup_2.4.4.exe, or "Install Smart Ticker.cmd" if
    Windows or the antivirus blocks the setup program. Both put "Smart Ticker" on the desktop and in the Start menu.
    The app itself is no longer at the top of the package (it is files\SmartTradeStation.bin, renamed when installed),
    so it cannot be started from inside the zip or from WinRAR's temporary folder by mistake - which is how
    2.3 - 2.4.3 were being run, without the desktop icon. The portable and web zips moved to "For IT".
  - The setup says where it put the desktop shortcut, or why it could not (an antivirus that protects the Desktop).
    "Install Smart Ticker.cmd" always writes a log: %TEMP%\STS_Setup_2.4.4.log.
  - The window closing: the launcher closes the app when the window stops calling it every few seconds; that call came
    from the page itself, so a busy moment could look like a closed window. A background worker now keeps calling it.
  - launcher.log now also says, at the next start, when the previous session ended without closing normally: its last
    sign of life, memory, stream messages, longest pause, last activity and whether the launcher was still answering.
    Pauses over 2 seconds are logged as they happen.
  - Trades restored at start-up from earlier today are limited to what the trade list keeps (Settings), not the whole day.

WHAT IS NEW IN 2.4.3 (duplicate requests, order protection, many windows, 02-Dec-2026)
  From "Last require for smart stations" (sections 2, 3 and 4):
  - Duplicate requests: identical data requests (double clicks, rapid refresh, several windows asking for the same
    history at once) share one request; the same request answered less than 1 second ago is answered from memory.
  - One sign-in at a time: a second Connect click, or a reconnect, while a sign-in is on its way waits for that one.
  - No duplicate stream subscriptions on a connection, and a repeated identical quote for a symbol is dropped before it
    reaches the screens. launcher.log counts what was skipped ("duplicates skipped: requests, subscriptions, ticks").
  - Order protection (paper trading): one order on its way at a time - a double click on Place order sends one order -
    and the same order (symbol, side, quantity, type, price) is not sent twice within 5 seconds. Each order keeps its own
    unique id. Messages in English and Arabic.
  - Measured here (1920x1080): page ready in 1.3 s, prices 0.14 s later; with 54 windows open (depth, time and sales,
    detail quote, tickets, market T&S) plus 6 right-click charts: 60 frames per second, no long tasks, 10 MB memory.
  Also from 2.4.2 testing: a stream refused at the very first sign-on answer gets one new sign-in before stopping.

WHAT IS NEW IN 2.4.2 (live prices stopping, chart theme, 02-Dec-2026)
  Live prices (DFN real-time stream)
  - From launcher.log: the stream signed on, subscribed, and about 7 seconds later DFN sent a second sign-on answer that
    ended the session and closed the connection (code 1006). The app then stopped for good: it did not reconnect after
    that answer, the answer itself was never written to the log, and the screen stayed on the last prices.
  - Now a session the server ends is signed in again with the saved sign-in (a fresh token): after 5 s, 20 s and 60 s.
    If DFN ends the session within 90 s of subscribing, the next session asks only for Saudi prices and indices
    (no full-market trade feed, no US) - "safe mode" in the log - and returns to the full set after 10 good minutes.
    After 3 tries it stops and says so, with a Reconnect button (and: close the same login in another DirectFN app).
  - Your login is not entitled to US prices (NSDQ, NYSE, AMEX are 0 in the sign-on answer), but the app subscribed to
    them anyway; that may be what DFN refused. US symbols are no longer requested when the login does not include them
    (a one-time note says so).
  - Every sign-on answer from DFN is written to launcher.log in full (tokens masked), with how long after subscribing
    it came, and every reconnect decision is logged.
  - A stream that stays silent for 3 minutes (sleep, network change, a half-open connection) is reopened.
  Crash / blank window diagnostics
  - launcher.log now also gets: script errors, an "alive" line every 2 minutes (10 later) with memory, open charts and
    stream state, "window closing" when the window closes, and "PAGE NOT RESPONDING ... last activity: ..." from a
    background watcher if the page stops answering for 15 s. The start line shows the page version (2.4.2).
    Tested here: 5,304 one-minute bars of a quiet stock (like 1020) in every interval, zoom and scroll, Pro Chart - no
    freeze or error.
  Chart theme
  - The right-click chart now follows the app theme (light or dark, the theme button / Settings) and changes at once
    when the theme changes: background, grid, candles, buttons, menus, labels, Fibonacci levels, drawings. Colours made
    for the dark chart (white drawings, ZigZag) are drawn in the text colour on the light chart. Pro Chart already
    follows the app theme.

WHAT IS NEW IN 2.4.1 (crash fix, 02-Dec-2026)
  - The window froze and went blank when a chart showed flat prices: one-minute bars of a quiet stock (or TASI) that
    did not move, with an average or Bollinger bands on. Rounding made the price range about 0.00000000000001 wide and
    the loop that draws the price scale then never ended, so the page stopped answering and Windows showed it blank.
    Both charts had it: the right-click chart (it opens on one-minute bars) and Pro Chart. The price range is now at
    least 0.1 % of the price (a flat chart shows a flat line in a normal scale), and the scale loops stop after 60
    lines whatever happens. Found from the launcher log (it stopped two seconds after 5,242 one-minute bars of 1111
    were drawn) and reproduced here: 2.4 froze on flat 10.89 bars with SMA 20, 2.4.1 draws them.
  - No other loop of this kind is left in the app (all were checked); the PRO Script indicators take 5 ms on average
    (40 ms at most) on 5,242 one-minute bars.

WHAT IS NEW IN 2.4 (owner's list for the right-click chart, 02-Dec-2026)
  Interface no longer shakes
  - The whole screen jumped up and down (about 34 px) on Market Watch with every live update, and the buttons at the
    right of the Pro Chart header slid sideways every second. Cause: badges and buttons were put back into the screen
    header after every redraw (the XL badge, the 2.3 session chip, and the − / × buttons the header hides), so the top
    row kept changing width and wrapping. They now have fixed places that a redraw cannot change: the XL badge is drawn
    over a fixed space after the time, the session (with its countdown) is on the ticker tape and in the time's tooltip,
    and the header's − / × are hidden by a rule. Prices in Market Watch, the index panel and the TASI bar use digits of
    equal width, and the ▲ / ▼ / = mark beside a price has a fixed width, so a new price does not nudge its neighbours.
    The time's flash can no longer be cut short by a redraw.
    Measured with a live feed redrawing every 150 ms: no layout shift left on Market Watch, Pro Chart, Portfolio,
    Auctions, Scanner or with the right-click chart open (it was a layout-shift score of 2.26 on Market Watch).

  Right-click chart (right-click a symbol > Pro Chart)
  - Indicator menu: the whole Pro Chart list - 11 groups, 114 items, English / Arabic names, a search box, the active
    indicators at the top with their period and a remove button. 20 common indicators are worked out in the chart
    (SMA, EMA, WMA, Bollinger, envelope, Keltner, Donchian, Parabolic SAR, ZigZag, RSI, MACD, MFI, Williams %R,
    Stochastic, ATR, Momentum, ROC, CCI, %B ...); the others run through the same PRO Script engine as Pro Chart
    (Ichimoku, ADX, SuperTrend, KAMA, VWAP, OBV, Chaikin, the Smart Ticker indicators ...) and are drawn on the price
    or in their own pane. Volume profile on the price. Tool items start the drawing tool, pattern layers switch on the
    pattern recognition, market-breadth items open the Market internals window.
  - Analysis tools: 27 drawing tools - trend line, ray, extended line, horizontal line, horizontal ray, vertical line,
    cross line, parallel channel, rectangle, ellipse, Fibonacci retracement, trend-based Fibonacci extension, Fibonacci
    channel, Fibonacci time zones, Fibonacci fan, Fibonacci arcs, Gann fan, Gann box, Andrews pitchfork, XABCD
    harmonic pattern (shows the ratios and the pattern it matches), Wolfe wave (with its target line), long position and
    short position (target, stop, R:R), text, arrow, price range, date & price range (bars and volume).
  - Fibonacci retracement: levels 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1, 1.272, 1.618, 2.618, 3.618, 4.236 with coloured
    bands and the price of each level; right-click the drawing > Fibonacci levels to choose the levels, extend left /
    right, reverse, and show or hide the prices (kept per drawing). Auto Fibonacci on the last major swing.
  - Pattern recognition (the Patterns button, with the count found):
      candlestick patterns: doji, hammer, hanging man, inverted hammer, shooting star, bullish / bearish engulfing,
        bullish / bearish harami, piercing line, dark cloud cover, morning / evening star, three white soldiers, three
        black crows, marubozu (marked on the candles; the names show in the legend under the mouse);
      chart patterns: double top / bottom, triple top / bottom, head and shoulders and inverse, with neckline, target
        and "confirmed" once price closes through the neckline; ascending, descending and symmetrical triangles, rising
        and falling wedges, rectangles;
      support and resistance levels (with the number of touches), trend lines, Elliott waves (1-5 impulse or A-B-C),
      harmonic patterns (Gartley, Bat, Butterfly, Crab, Shark, Cypher);
      sensitivity 1.5 / 3 / 5 / 8 %; the list of what was found - click one to bring it into view.
  - The legend has a background, so it stays readable over drawings and patterns.

  Excel live link
  - One workbook whose "STS Data" sheet is protected, or that is read-only, no longer stops the other workbooks in the
    same Excel (the link also started over every second); it is named in the XL badge with what to do.
  - Excel in manual calculation is detected: the XL badge says so (GetCellValue cells only change after F9 or with
    Formulas > Calculation Options > Automatic).
  - When the link refuses the data the XL badge says so (it used to look as if all was well).
  - Prices are sent with 12 significant digits (62.55, not 62.550000000000004 for a change worked out from two prices).

  Setup
  - Smart_Ticker_Setup_2.4.exe: one file with a short wizard and the Smart Ticker icon (it runs install.ps1, so the
    result is the same as Install Smart Ticker.cmd). Silent: /S; automatic updates: /UPDATEURL=<url>; log: /LOG=<path>.
    It is not code-signed: SmartScreen may show "Windows protected your PC" (More info > Run anyway), and PCs with
    Smart App Control on need install.ps1 / Install Smart Ticker.cmd until it is signed.

WHAT IS NEW IN 2.3 (Smart Ticker, 02-Dec-2026)
  New name and icon
  - DirectFN Smart Trade Station is now Smart Ticker: Start menu (DirectFN > Smart Ticker), desktop shortcut, window and
    taskbar title, Settings > Apps, the sign-in card, the top bar and every screen, in English and Arabic.
  - New icon (graphite tile, green rising line, blue ticker tape) on the shortcuts, Settings > Apps, the app window /
    taskbar and the sign-in card.
  - Installing 2.3 over 2.2 updates in place: same folder (%LOCALAPPDATA%\Programs\DirectFN Smart Trade Station, kept
    so settings, workspaces and the saved sign-in carry over), and the old "DirectFN Smart Trade Station" shortcuts are
    replaced by "Smart Ticker" ones. The program file is still SmartTradeStation.exe.
  - Exported files (menu layouts, formulas, live Excel manifest) keep their data labels, so files from older versions
    and from 2.3 open in both.

  Flashing (application and index panel)
  - Market Watch: the last price now flashes green / red for 0.8 s after every change. It used to be tied to the
    screen's redraw, so it showed as a one-frame blink, or the colour stayed until the next redraw.
  - Index panel: only the TASI and NOMUC levels flash (the Turnover card flashed too, and flashed red when turnover went
    from 999.9M to 1.00B because the unit was ignored). The flash is shorter (0.7 s) so a level that changes every
    second no longer looks lit all the time.
  - Every flash now runs to the end: the screens redraw several times a second with a busy DFN feed, and each redraw
    used to cut the flash short. Flashes no longer force a page layout (they made the app stutter every second).
  - Top-panel time: updated right after each second turns; the old 1-second timer drifted and could skip a second.
    Tested with a simulated live feed redrawing every 150 ms: every flash ran to the end, none cut short.

  Ticker tape
  - Ticker tape on every screen: a scrolling tape under the top bar (under the TASI bar where it shows) with TASI and
    NOMUC, the Tadawul session with a countdown, then the symbols of the list you pick, with last price and % change
    (green ▲ / red ▼). A price that changes flashes green or red. Hover over the tape to pause it.
    Click a symbol = link it to every linked window (as a click in Market Watch); double-click = Detail quote;
    right-click = the usual symbol menu (Pro Chart, Depth, Time & Sales, Buy / Sell, alert, ...); click TASI / NOMUC =
    the index screen. Names follow the language (English / Arabic).
  - What the tape shows (right-click an empty part of the tape, or its ⚙ button): My Watch (default; most active when My
    Watch is empty), any saved watch list, most active by turnover, top gainers, top losers, gainers and losers, or the
    whole market. Speed slow / normal / fast; TASI / NOMUC and the session can each be turned off.
  - Ticker tape on top of other programs: the ⇱ button on the tape (or View > Ticker tape on top of other programs)
    opens the tape in its own slim window that stays above Excel and every other program (Edge / Chrome 116+, like
    "Keep on top of other programs" of the floating windows). It keeps moving while the main window is minimised.
  - Tadawul session next to the top-panel time (beside the XL badge): Pre-open, Market open, Closing auction, Trade at
    last or Market closed, with the time left to the close or to the next open (Riyadh time, Sunday to Thursday:
    09:30 opening auction, 10:00 - 15:00 continuous trading, 15:00 closing auction, 15:10 trade at last). Public
    holidays are not counted yet. Click it for the session times.
  - View > Ticker tape (show / hide) and Settings > Ticker tape have the same options. The settings are kept on this PC.

WHAT IS NEW IN 2.2 (Excel live link and top-panel time, 02-Dec-2026)
  - Excel live link works without a live folder. The "STS Data" sheet of LINK TO EXCEL workbooks stayed at the values
    of export time when Tools > Live Excel tables was not running: Edge forgets the folder permission every time the
    app restarts, so the app stopped writing STS_GetCellValue.csv until someone clicked Start again, and the Excel live
    link had to be started by hand and given the same folder. Now the app sends the GetCellValue data straight to the
    Excel live link on this PC (127.0.0.1, port 47831) every second, with no file and no folder permission.
  - The installer starts the Excel live link in the background at Windows sign-in (and right after installing). It only
    attaches to an Excel that is already open, never opens Excel or a window, and updates the "STS Data" sheet of every
    open workbook that has one. Start menu > DirectFN > Excel live link still works for the live tables.
  - "XL" badge next to the top-panel time: green = Excel is being updated (hover for the workbook names), amber = the
    link runs but no workbook with an "STS Data" sheet is open, or the workbook is in Protected View (click Enable
    Editing), grey = the link is not running. Click it for the details.
  - The live link also updates "STS Data" when it was set to the 1.8 single live file (STS_Live.csv), which used to
    leave GetCellValue workbooks untouched.
  - The top-panel time (Riyadh) flashes on every tick.
  - The Excel live link finds the Excel that has your workbook open, also when another (hidden) Excel is running,
    and reconnects by itself after Excel is closed and opened again.
  - Index panel: the TASI / NOMUC levels (cards and the TASI bar) flash green when they rise and red when they fall.
  - Smart chart: right-click a symbol > Pro Chart (and its 1 min / 15 min / daily / weekly items) now opens a clean
    chart window in the same style as the Smart chart of the mobile app: interval menu and chips (1m 5m 15m 1H 4H 1D
    1W 1M), chart type (candles, bars, line, area), indicators with their periods (SMA, EMA, Bollinger, RSI, MACD,
    MFI, W%R, Stoch, ATR; each lower pane has a gear and an x), volume, alert, reset, and a drawing-tools row (trend,
    ray, extended line, horizontal, vertical, channel, rectangle, Fibonacci, text, arrow, price range, delete all).
    Drawings are kept per symbol. Mouse wheel zooms, drag scrolls, double-click resets; click a drawing and press
    Delete (or right-click it) to remove it. The full Pro Chart window with every tool is still in the same menu as
    "Pro Chart window (all tools)", and Ctrl+G still opens it.

WHAT IS NEW IN 1.9.9 (DFN daily history, 30-Nov-2026)
  - Daily chart history comes from the DFN API again. Since 1.9.3 the app asked DFN for every daily bar in one
    request of 20000 bars, which DFN refused (HTTP 400) every time, so the charts quietly used the PRO 12 archive
    instead. Now the app asks for 5000 bars a page, newest first, and loads the next pages until DFN has no more
    (tested on the live DFN API: 77 answers HTTP 200, 0 refused). If DFN refuses that query, the app tries the
    query 1.7.0 - 1.9.2 used, and after 3 refused symbols in a row it uses the PRO 12 archive until the next
    sign-in instead of asking again for every symbol.
  - The DFN sign-in itself is unchanged (saved sign-in, stream and entitlements work as in 1.9.8).

WHAT IS NEW IN 1.9.8 (Excel link, 29-Nov-2026)
  - Excel link without the PRO 12 add-in: workbooks exported with Export & Excel > LINK TO EXCEL now define
    GetCellValue themselves (an "STS Data" sheet and a GetCellValue LAMBDA name in Formulas > Name Manager), so
    the cells show numbers on PCs without the PRO 12 add-in (they used to show #NAME?). The values are those of
    the moment of export until the Excel live link runs.
  - The terminal writes STS_GetCellValue.csv (every symbol under the PRO 12 GetCellValue field names) in the
    live Excel folder (Tools > Live Excel tables), next to the live tables.
  - Excel live link (STS-Excel-Bridge.ps1): fills the "STS Data" sheet of every open LINK TO EXCEL workbook every
    second, so the GetCellValue cells update live; new -Open option to test it with a workbook; a saved live
    folder that no longer exists (deleted or moved) is forgotten and the link asks again (it used to wait for
    ever).

WHAT IS NEW IN 1.9.7 (Pro Chart enhancements, 27-Nov-2026)
  - Pro Chart search box: keeps working after changing the interval or the period. When an interval had no bars yet
    for the symbol (e.g. 1h before DFN's minute history arrived), the chart showed the 9408 sample and the search
    box went back to 9408, so every search looked ignored. Now the box keeps the symbol you asked for and the chart
    shows that symbol's daily bars with a note ("no 1h bars yet for 1180, showing daily bars") until they arrive.
    The suggestion list also opens right under the box at every text size.
  - Keyboard shortcuts in Pro Chart (also in floating Pro Chart windows, any keyboard layout):
      Alt+M  Market data panel (watch list beside the chart)
      Alt+T  Table panel (Market Pattern Scanner table)
      Alt+I  Indicators panel (Indicators, patterns & tools)
      Alt+V  Data tab        Alt+/  list of shortcuts
  - Indicator panes: Settings (gear), Minimise and Maximise together at the top of every pane (and of the price
    chart); they stay in place at every text size and after maximising, so a maximised pane can always be restored.
  - Same look and behaviour for all pane / window controls; right-click menus open exactly at the mouse at every
    text size.

WHAT IS NEW IN 1.9.6 (Enhancements and Stability list, 27-Nov-2026)
  - Window resizing: resizing or moving a floating window stops the moment the mouse button is released, also when
    it is released over a Pro Chart / popup window or outside the app (the window used to stay stuck to the mouse).
  - Window settings kept: size, place and text size are remembered per kind of window (Detail quote, Time & Sales,
    Depth, Pro Chart window, ...) and come back after restarting; display / font settings are kept as before.
  - Maximise / minimise work the same in every floating window; minimised windows wait in the bar at the bottom.
  - Floating Pro Chart: one title bar with − □ × (the chart's own buttons inside it are gone); maximise and minimise
    work over Market Watch and every other screen; closing it closes only that window and stays on the same screen
    (the inner × used to close the chart inside the window, which then showed another screen).
  - Speed: trades are saved in small pieces (the whole day's trades were copied every 30 and 60 seconds, which froze
    the app more and more during busy days); popups and chart windows no longer repeat the background work of the main
    window (Excel live tables, price alerts, market recording, cloud heartbeat).
  - Floating Pro Chart has the full indicator list (378), all study tools and all 136 drawing tools (checked).
  - Formula import: TC2000 (PCF) added next to TradingView (Pine Script), TradeStation EasyLanguage, MetaStock,
    AmiBroker and Python; imported formulas appear in Pro Chart's formula list.
  - Custom columns in Market Watch (View > Custom columns): calculations on live quote fields (e.g. ask - bid,
    tov / 1000000) as well as PRO Script formulas on daily history.
  - Main menu: the close (X) is removed; File > Application > Exit Smart Ticker (and Settings) closes the app;
    the square button switches full screen.
  - Every change was regression-tested on all screens, in English and Arabic.

WHAT IS NEW IN 1.9.5 (Enhancement & Issue Resolution list, 25-Nov-2026)
  - Popup windows: the Close (X) works at once in every popup and closes only that window. Popups no longer close by
    themselves while opening, show only their own title bar (the app's header used to cover their top half) and show
    the stock name in the title. Opening a popup no longer switches the main window back to English.
  - Excel live link: the live tables keep updating every second while Smart Ticker is minimised or behind Excel
    (Windows used to slow it to about once a minute). Every exported field was checked against Market Watch.
  - Auctions right-click: every item works (Detail quote, Depth, Order book, Time & Sales, Cash flow, Buy / Sell,
    alert, company, liquidity, auction order chart, history, My Watch, copy code); Auction order chart is listed once;
    Ctrl+Q / D / T / G / C work on the selected auction or scanner row; the Auction order chart window has the menu too.
  - Stock names: checked on every screen in English and Arabic; popup titles and contents show the name.
  - Formula columns in Market Watch (Analyze > Formula columns, or "Add to Market Watch" in the Formula builder): any
    PRO Script formula runs on every symbol and shows its value (or a tick for scan / alert conditions); sort, colour,
    edit, delete; examples (RSI, % from MA50, relative volume, MACD histogram, ATR %); test before saving.
  - Formula builder: auto-complete (functions, words, your inputs and variables; Ctrl+Space), "Save formulas file" and
    "Open formulas file" to share or back up formulas and columns. It opens from Pro Chart without asking to sign in.
  - Screen sizes and Windows scaling: text size "Auto (fits the screen)" (85 % on small / 150 %-scaled screens up to
    150 % on 4K), windows and dialogs always fit the screen, maximise fills the visible area, ◀ ▶ arrows and the mouse
    wheel for the top tabs when they do not all fit. Checked at 1366x768, 1920x1080, 2560x1440 and 3840x2160 with
    100-200 % scaling.

WHAT IS NEW IN 1.9.4 (Trading Platform enhancement list, 25-Nov-2026)
  - Windows from right-click menus: in Auctions, Scanner, Portfolio, Reports, Pro Chart and every widget, Detail
    quote, Depth, Order book, Time & Sales, Cash flow and Pro Chart now open in a window on the same screen (no tab
    switch). Windows can be resized, minimised, maximised and closed. Switching English / Arabic switches all open
    windows too.
  - Indicator panes have minimise and maximise buttons and a settings (gear) button; double-click a pane for its
    settings.
  - Indicator settings after adding: period, source, calculation type (SMA/EMA/WMA ...), colour, line width and line
    style for each line; Save, Restore defaults, Cancel. No need to remove and add again.
  - Live Excel: new Auctions feed (expected price, matched volume, surplus, value ...) next to Watch lists, Market
    Watch and Portfolio feeds; the old exports still work.
  - Tick history: every trade tick is kept on this PC per day (30 days by default, can change). Tools > Tick
    history: pick a day, one symbol or the whole market, replay at 1x-60x, export CSV.
  - Symbol search: Ctrl+K or "/" from any screen; search by code or company name (English or Arabic), filter by market
    (Main, Nomu, Sukuk, US) and open in Pro Chart, a chart window, Detail quote, Depth, T&S, Buy or Sell.
  - Display settings (font, size, row height, grid lines, new "Cell borders") apply live to all screens and windows.
  - Drawing tools grouped by trader level (Beginner, Intermediate, Advanced, Expert, Shapes & notes). New tools:
    circle, triangle, polygon, curve, arc, highlighter, risk/reward, projection, regression trend, session / period /
    fixed-range / anchored volume profile, anchored note, balloon, flag, Gartley, Bat, Butterfly, Crab, Shark.
  - Indicators in 12 groups: Trend, Momentum, Volume, Volatility, Trend strength, Support & resistance, Breadth,
    Cycles, Patterns, Volume profile, Smart Money Concepts, Statistics. New: Forecast oscillator, Donchian width,
    Sharpe, Sortino, Alpha, liquidity sweeps, equal highs/lows, premium/discount, mitigation and breaker blocks, MSS.
  - Pro Chart: watch list at the side (My Watch, Market Watch or a saved list); click a row to change the chart.
  - Formulas made in the Formula builder show in Pro Chart's formula list.
  - TASI / NOMUC index bar stays at the top on every screen.

WHAT IS NEW IN 1.9.3 (PRO12 enhancement list + single indicator list, 24-Nov-2026)
  - Closing auction price: the auction screens use DFN's own auction price and volume (closing-auction fields in the
    closing auction), as PRO 12 does; the Auction order chart lists every field DFN sent for the symbol so any
    difference can be checked field by field. The Detail quote shows DFN's official closing price once it exists.
  - Excel and Report link: Reports > Live Excel and Scanner > Live Excel now make live Excel TABLES (Tools > Live Excel
    tables) instead of one GetCellValue formula per cell; a report table is the whole report, worked out again every
    second.
  - Chart history: daily history is requested from the first trading day DFN has; ALL and 5Y show every bar and
    zooming out goes back to the first bar; weekly and monthly use the full history.
  - Scanner and Auctions: right-click a symbol for the same menu as the other widgets (Pro Chart, Pro Chart window,
    Detail quote, Depth by price, Order book, Time & Sales, Cash flow, Buy, Sell, alert, company information, auction
    order chart, download history, My Watch, copy code).
  - Floating chart windows are the full Pro Chart (every indicator, all drawing tools, templates, formulas), several at
    once, each with its own symbol.
  - Pro Chart symbol box: matches appear as you type a code or a name; an exact code is selected by itself.
  - Larger text by default (110%) in every menu, widget and screen (View > Display settings to change it).
  - "All indicators" at the top of the indicator list: 129 items in one list, all working - including the new TMA,
    Fractals, Price Channel, Accelerator, Fisher, RVI, Rainbow, Volume ROC, NATR, Trend Intensity, Schaff Trend
    Cycle, Hilbert transform, Dominant and Cyber cycles, DeMark pivots, VWAP bands, order flow, delta and cumulative
    delta (estimated from each bar), market profile and TPO profile, Smart Money Concepts (BOS, CHOCH, fair value gaps,
    order blocks), anchored VWAP, footprint and liquidity heatmap windows, McClellan oscillator / summation and the
    High-Low index.

WHAT IS NEW IN 1.9.2 (Pro Chart indicator list, 21-Nov-2026)
  - The Pro Chart indicator list is organised in 11 groups, in English and Arabic: Trend, Momentum, Volume,
    Volatility, Strength, Cash flow, Statistical, Professional market, Fibonacci tools, Advanced analysis and
    Smart Ticker indicators. Every item works: it draws on the chart or in its own pane, starts the drawing tool,
    shows the auto-detected layer, or opens its window.
  - New indicators: Variable MA (VIDYA), Adaptive MA, Alligator, RSI divergence, MACD histogram, Chande momentum,
    Elder ray, volume MA, Chaikin oscillator and volatility, Positive volume index, Bollinger width, volatility
    ratio, Keltner width, +DI, -DI, DMI, Aroon up / down / oscillator, intraday money flow, Smart Money Index (daily),
    cash flow meter, institutional flow, buyer / seller pressure, beta and correlation with TASI, linear regression
    slope / forecast, standard error, R-squared, Z-score, relative strength vs TASI, Elliott wave oscillator, and the
    Smart Ticker set (smart cash flow, smart money flow, smart scanner conditions, smart trend, smart momentum,
    institutional activity, big trades, auction strength, sector rotation, relative strength ranking, market
    sentiment). All of them are also PRO Script functions in the Formula Builder.
  - Volume profile on the price chart (24 rows, buy / sell volume, point of control).
  - Market internals window: market breadth, advance / decline line and ratio, tick index, Arms index (TRIN),
    new highs / lows, recorded from the live board every 15 s; Relative Rotation Graph of the sector indices vs TASI.
  - Drawing tools now draw their real shapes: Fibonacci channel, time zones, trend-based time, speed resistance fan
    and arcs, circles, spiral, wedge, the new Fibonacci expansion, Gann fan / box / square, and the new Wolfe wave.

WHAT IS NEW IN 1.9.1 (list of 19-Nov-2026, second round)
  - Scanner: scans use the real DFN daily history (it was a simulated history behind every symbol, only today was
    real) and real 5-minute bars for intraday scans; formula fixes (SMA(50), EMA(20), SUM, ROC, REF with one number
    now mean "of CLOSE"; HHV / LLV use their length on HIGH / LOW; CROSSDOWN added); 32 more indicators in the
    condition list and as formula functions (Hull, TEMA, VWAP, SuperTrend, CCI, Williams %R, MFI, Stoch RSI, Keltner,
    Donchian, Aroon, +DI / -DI, 52-week high / low, gap, historical volatility ...) (1).
  - Live Excel tables (Tools > Live Excel tables): one folder, one Excel TABLE per feed (Market Watch, all symbols,
    My Watch, each watch list, portfolio, scanner results, sectors), your own columns in your order including Short
    Name, Market Status and calculated fields, saved templates, English or Arabic headers; works with XLOOKUP,
    PivotTables, Power Query and Power BI; no per-cell formulas (2, Excel requirement).
  - Several Depth by price, Order book, Cash flow, Detail quote and Time & Sales windows for different symbols: a new
    window keeps its own symbol (it used to be linked and re-used) (3).
  - Pro Chart indicator list: all 44 indicators that only said "needs history / queued" now draw (DEMA, TEMA, Hull,
    KAMA, ALMA, VWMA, VWAP, Ichimoku, Supertrend, ADX, Vortex, regression, ribbon, McGinley, Stoch RSI, Ultimate,
    Awesome, TRIX, KST, Connors RSI, TSI, DPO, PPO, Coppock, SMI, StdDev, HV, Choppiness, Chandelier, Ulcer, Volume,
    OBV, A/D, CMF, MFI, Force, Klinger, EOM, PVT, Volume osc., NVI, Fibonacci / Camarilla / Woodie pivots); formulas
    can use Volume (it was always refused) (4).
  - Delete everywhere: Analyze > Analysis manager lists drawings, chart indicators, formulas, templates, layouts,
    scans, reports, alerts and Excel templates, each with Delete and Delete all; a selected drawing has Delete and the
    Delete key (5).
  - Arabic: every new window, note and button in Arabic (6). Short Name: the right short name in English and Arabic
    (DFN names are loaded in both languages; English mode no longer mixes in old sample names) (7).
  - View > Display settings: text size for all screens and windows, text and number fonts, bold numbers, row spacing,
    zebra rows, grid lines, colour-blind up / down colours, high contrast, title-bar size, reset (8).
  - Auctions: right-click a symbol for its windows and the Auction order chart - cumulative buy and sell by price with
    the matching point (price, volume, surplus) (9).
  - Sukuk and bonds are recognised from DFN's instrument data and names and stay out of the Main Market filter (10).
  - Drawings can be selected, moved, reshaped point by point, copied, locked and amended after they are made
    (colour, width, style, exact prices, your own Fibonacci levels) (11).
  - Auctions: price limits come from the previous close (Nomu +-30%), the change is shown against the previous close;
    Detail quote shows "-" for Close until the closing price exists (12).

WHAT IS NEW IN 1.9.0 (enhancement list of 19-Nov-2026, 22 items)
  Windows
  - Every window opens in front: Time & Sales, Depth, Order book, Detail quote and Cash flow no longer open behind the
    Market overview / Sector / Liquidity windows; any window comes to the front when you click it (1).
  - Pop out (title-bar button or right-click > Detach) puts a floating window into its own program window, in front;
    panels can stay on top (pin) or on top of other programs (1).
  - Reset to default really resets: the settings icon and the right-click menu open the same window settings, and Reset
    restores font, text size, rows, colours, columns and size (also "every window of this kind"); panels have Reset in
    their settings menu (2).
  - Windows > Arrange: cascade, tile, minimize all, restore all, close all; panels minimize to a dock and snap to the
    screen edges and to each other while you drag them (3).
  - Several Time & Sales, Depth by price, Order book and Cash flow windows at once, each with its own symbol
    (Windows / Quote > New ... window, or right-click a window > New window); Cash flow is its own window (5, 6).
  Charts
  - Minimize / maximize buttons on the price chart and on every indicator pane (4).
  - Scrolling and zooming no longer cut indicators: RSI, MACD, stochastic, averages, bands and your formulas are worked
    out with the bars before the visible window, so every line starts at the first visible bar (7).
  - Chart Center: Pro Chart with all its tools in its own window (Analyze > Chart Center, Ctrl+Shift+K) (8, 9).
  - 22 more indicators and 5 more strategies in the library: Ichimoku, ADX / DMI, MFI, Hull MA, TEMA, DEMA, zero-lag
    EMA, rolling VWAP, Vortex, Ultimate oscillator, KST, Mass index, Chandelier exit, classic / Fibonacci / Camarilla
    pivots, RVI, balance of power, ease of movement, PVT rate, standard-deviation channel, squeeze (10).
  - Multi-chart with 2, 3, 4 or 6 charts, each with its own symbol, interval and range, volume and MA 20/50; save, load,
    rename and delete layouts; the last layout comes back (11).
  Market and analysis
  - Market > Market overview: indices, sectors and cash-flow details, right-click menu on every row (12).
  - Market > Top stocks: gainers, losers, most active by value / volume / trades, top cash in / out (13).
  - Market > News & announcements: official Saudi Exchange news and company announcements, today's market events from
    the live trades, AI summary (the DFN feed carries no news text) (14).
  - Analyze > Volume watcher: relative volume against the 20-day average and the pace of the last 15 minutes (15).
  - Scanner and formulas: ATR is Wilder's ATR, EMA handles gaps, highest / lowest skip gaps; averages, deviation,
    highest / lowest and sums are worked out in one pass (much faster on long histories) (16).
  - Market Watch: filter by several instrument types at once (Instrument type > Several types..., or Market >
    Instrument types...) (17).
  - Tools > Download data: historical prices (any interval and range) and the session's Time & Sales, Excel or CSV;
    also in every right-click menu of the new windows (18).
  - Detail quote: spread, trades, average trade size, change from open, 52-week high / low and distance to the high,
    share of market turnover, cash in / out, price limits, sector, market and type (19).
  Excel
  - Live Excel: when the live file is locked (usually because STS_Live.csv itself is open in Excel) the app says so and
    resumes by itself; the Excel live link closes that CSV in Excel and re-creates the "STS Live" sheet if its workbook
    is closed or the sheet renamed (20).
  - Export / report: Time & Sales exports carry the live trades of the window's symbol (they had only the sample),
    files carry today's date and "Live data", and text Excel refuses is cleaned so the file always opens (21).

WHAT IS NEW IN 1.8.1 (installer fixes; the app has the same features as 1.8.0 and shows version 1.8.1)
  - Checksums under every name: SHA256SUMS.txt lists the setup program as STS_Desktop_Setup_1.8.1.exe, and
    SHA256SUMS-1.8.1.txt next to STS_Setup_1.8.1.exe lists it under that name; every zip with an .exe has a
    SHA256SUMS.txt inside.
  - One entry in Settings > Apps: the old 1.4.x entry "DirectFNSmartTradeStation" is removed when it points to the
    same install folder.
  - Setup log: /LOG=<path> (setup program) or -Log <path> (install.ps1); silent installs write
    %TEMP%\STS_Setup_1.8.1.log by default (steps, files written, registry values, exit code).
  - The zips use "/" in their folder paths, so they unzip into folders on Linux, macOS and Docker hosts too.

WHAT IS NEW IN 1.8.0 (enhancement list)
  Market data
  - Duplicate trades removed (1); theoretical opening and closing from DFN's real order book, prices on the tick grid
    with two decimals (2, 3); cash flow consistent at symbol and index level (cash in + out = turnover, net = in - out,
    from the session's trades when DFN sends no cash fields) and by time interval (9, 10).
  - Market Time & Sales / Time & Sales: all trades of the session, 200 / 1,000 / 5,000 / All, buy / sell filter and
    Conditions (minimum quantity, minimum value, price range, tick direction) (8).
  - Sector Indices with a full watch list per sector, "Save as watch list" (6); index details (7); compare (12);
    trading monitor (17); company information with profile, board, shareholders, financials, corporate actions and
    announcements (official Saudi Exchange pages) and an AI summary (16, 38); Company name column (43).
  - Alert manager: price, change, volume, turnover, net cash, day high / low, volume surge, RSI, SMA / EMA crosses,
    MACD crosses, Bollinger breaks; repeat, expiry, groups, sound / pop-up / Windows notification, bulk actions,
    import / export (15, 37).
  - Excel live link: the "STS Live" sheet updates every second (Start menu > DirectFN > Excel live link); clean
    characters and rounded numbers in the live file (4, 13).
  Windows and settings
  - A settings button on every window: text size, colours, row height, columns (5, 18, 33); windows come to the front
    when clicked and follow the Market Watch selection (11, 14); detach / reattach windows.
  - One Settings window (top-bar gear or Ctrl+,) with sections and search; app-wide text size (19, 18).
  Pro Chart
  - Mouse-wheel zoom, drag to move through history and up / down, drag the price axis to stretch it (23); resize
    indicator panes by dragging their top border (22); padding on all sides, left and right price axes (24).
  - Tooltips with OHLC, volume and the indicator values of the bar under the mouse (27); colours for indicator lines
    and the high / low areas (28); Data Window with chosen fields (44).
  - Indicator & strategy library (31 indicators, 11 strategies, PRO Script) (29, 41); drawing tools: lines, ray,
    channels, Fibonacci, shapes, positions, measure, Elliott waves, harmonics; double-click a drawing to edit it (30, 34).
  - Templates (20), 2 / 4 charts (21), formula pop-up (25), trade at support / resistance / Fibonacci levels (32),
    snapshot (35), Excel export with data, formulas and analysis (36), chart alerts (37), Pro Chart in its own window
    (39), Elliott and harmonic analysis (40), right-click menu choices (42).

RUN WITHOUT INSTALLING
  Run SmartTradeStation.exe from this folder (close any other Smart Ticker first).

KNOWN LIMITS
  - The launcher reports version 1.6.2 to the app; the app itself is 2.2.
  - Company financials, board and shareholders are not in the DFN live feed; they open on the official Saudi Exchange
    pages. AI answers come from the AI model, not from DFN.
  - Not code-signed: Smart App Control blocks STS_Desktop_Setup_2.2.exe; install.ps1 works.
